WcJUpsellator\WooActions A

Total Complexity 68
Dependencies 6
Dependents 1
Total lines 477
Lines of code 274
Logical lines of code 138
Comment lines 117
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
register()
A
39 7 74
changeItemPrice()
A
52 9 23
markAsUpsell()
S
57 8 15
showBeforeSingleAddToCart()
S
59 5 13
markOrderProducts()
S
65 5 8
showUpsellatorLabel()
S
53 3 28
calculateNewPrice()
S
59 4 13
calculateTotalUpsell()
S
61 4 12
editcartPageName()
S
61 4 12
wc_timeline_fragments()
S
53 3 24
wc_timeline_update_qty()
S
61 3 12
editCartPageItemClasses()
S
66 3 9
editCartPageQuantity()
S
66 3 7
wc_timeline_remove_item()
S
68 2 7
checkoutUpsell()
S
91 1 2
checkoutUpsellFragment()
S
82 1 3
recalculateGifts()
S
69 1 7
preventCouponDiscountForUpsells()
S
79 1 3
__construct()
S
91 1 2